<% if logged_in? -%>
  <hr size="1" noshade>
  ▽<%= link_to t("web-app-theme.profile", :default => "Profile"), portal_profiles_path %><br>
  ▲<%= link_to "各種設定", edit_common_setting_path(@user.setting) %><br>
<% end -%>

<hr size="1" noshade>
<%= link_to "", "", :name => "page_bottom" %>
<%= link_to "#{emoticon_0}ホーム", :root %>
<%= link_to "#{emoticon_1}↑", "#page_top", :access_key => "1" %>
<%= link_to "#{emoticon_8}↓", "#page_bottom", :access_key => "8" %>

<% if logged_in? -%>
  <hr size="1" noshade>
  <%# TODO: ログアウトをこのままボタンで行うか検討 %>
  <%# TODO: ログアウト確認処理を実装するか検討 %>
  <%#= link_to "#.#{t("web-app-theme.logout", :default => "Logout")}",
               common_user_session_path,
               :method => :delete,
               :class => "logout",
               :confirm => "ログアウトしますか？"%>
  <%= button_to t("web-app-theme.logout", :default => "Logout"),
                 common_user_session_path,
                 :method => :delete,
                 :class => "logout",
                 :confirm => "ログアウトしますか？"%>
<% end -%>
<hr size="2" noshade> 
<center>Copyright &copy; <%= Time.now.year %> <%= GlobalSetting[:sns_name] %></center>
